/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ObserverPattern;

import java.util.ArrayList;

/**
 *
 * @author Andreea
 */
public interface Subject {
    public ArrayList<Observer> observers=new ArrayList<Observer>();
    public void notifyObserver();
    public void addObserver(Observer o);
    public void removeObserver(Observer o);
}
